package com.glink.manage.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.glink.manage.domain.CodeBean;
import com.glink.manage.dto.code.CodeSubCodeQueryDTO;
import com.glink.manage.vo.code.CodeTreeVo;

import java.util.List;


public interface CodeMapper extends BaseMapper<CodeBean> {

    int upAndDown(String idOne, String idTwo);

    List<CodeTreeVo> findLeafTreeByCondition(CodeSubCodeQueryDTO dto);

}
